<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item v-for="(item, index) in list" :key="index" :to="{ path: index != 1 ? item.path: '' }">{{item.name}}</el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script>
export default {
  props: {
    list: {
      type: Array,
      required: true,
      default: () => []
    },
    separator: String
  }
}
</script>
<style lang="less" scoped>
.el-breadcrumb {
    line-height: 54px;
    background-color: #fff;
    border: none;
    height: 54px;
    width: 100%;
    box-sizing: border-box;
    font-family: MicrosoftYaHei;
    color: #444;
    font-size: 14px;
    padding-left: 40px;
}
</style>
